package com.itheima.zzyl.mapper;
import com.itheima.zzyl.pojo.Reservation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ReservationMapper {
    public List<Reservation> list(
            @Param("status") Integer status
    );

    public void insertReservation(
            @Param("reservation") Reservation reservation);

    public void updateStatus(@Param("id") Integer id);
}